package com.example.model.pojo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 修改密码请求数据传输对象
 */
@Data
@Schema(name = "修改密码请求对象", description = "用户修改密码接口的请求参数")
public class ChangePasswordDTO {
    @Schema(description = "当前使用的密码", required = true, example = "123456")
    private String oldPassword; // 原密码
    
    @Schema(description = "用户设置的新密码", required = true, example = "654321")
    private String newPassword; // 新密码
}